<?php


namespace app\adminmini\controller;



use app\adminmini\service\SetcabinetService;
use think\facade\Db;


class Setcabinet extends Backend
{
    public function getUserInfo()
    {
        $userService = new SetcabinetService();


        $result = $userService->getUserInfo($this->userId());
        return $result;
    }

    public function updateUserInfo()
    {

        $userService = new SetcabinetService();
        $result = $userService->updateUserInfo($this->userId());
        return $result;
    }

}